import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import TopbarCom from '@/components/TopbarCom'
import BottombarCom from '@/components/BottombarCom'
import SwiperCom from '@/components/SwiperCom'
import { Icon } from 'vant';
import { Tabbar, TabbarItem } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { CountDown } from 'vant';
import { NavBar } from 'vant';
import { Sidebar, SidebarItem } from 'vant';
import { TreeSelect } from 'vant';
import { Grid, GridItem } from 'vant';
import { List } from 'vant';
import { PullRefresh } from 'vant';
import { ImagePreview } from 'vant';


// 全局注册
Vue.use(ImagePreview);
Vue.use(PullRefresh);
Vue.use(List);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(TreeSelect);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.use(NavBar);
Vue.use(CountDown);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Icon);
Vue.config.productionTip = false


Vue.component('TopbarCom',TopbarCom)
Vue.component('BottombarCom',BottombarCom)
Vue.component('SwiperCom',SwiperCom)




new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
